public class User {
    private String userName;
    private String password;


    public boolean login(String userName, String password){
        System.out.println("传递过来的用户名" + userName);
        System.out.println("传递过来的密码" + password);


        if (userName.equals("admin") && password.equals("123456")){
            return true;

        }else {
            return false;
        }


    }

}
